<#include "../global/global.ftl" encoding="UTF-8" />
<#lt/>
<#lt/>
<#lt/>
package ${service.interface.package};

import java.util.List;
import java.util.Map;

import com.zorn.core.spring.mvc.support.IServiceSupport;

public interface ${service.interface.name} extends IServiceSupport {

	List<Map<String, Object>> ${(service.interface.method.query.name)!"query"}(Map<String, Object> params);

	int ${(service.interface.method.count.name)!"count"}(Map<String, Object> params);

	int ${(service.interface.method.insert.name)!"insert"}(Map<String, Object> params);

	int ${(service.interface.method.update.name)!"update"}(Map<String, Object> params);

	int ${(service.interface.method.delete.name)!"delete"}(Map<String, Object> params);

<#comment><#if service.interface.method.other??>
	<#list service.interface.method.other as m>
	${m.return_type} ${m.name}(<#list m.params as p>${p.type} ${p.name}</#list>);

	</#list>
</#if></#comment>
}